package besta.moon.engine;

import java.nio.channels.FileChannel;
import java.sql.SQLException;

public abstract class TransactionStep {

    public FileChannel raFile;

    protected TransactionStep(FileChannel raFile) {
        this.raFile = raFile;
    }

    public abstract long commit() throws SQLException;

    public abstract void rollback() throws SQLException;

    public void freeLock() {
    }

}
